package com.baizhi.entity;

import java.util.Date;

//标签实体类
public class Tag {

    private Integer id;
    private String name;
    private String type;
    private Date createDate;


    public Tag() {
    }

    public Tag(Integer id, String name, String type, Date createDate) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "Tag{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", createDate=" + createDate +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
